package org.csmzxy.class233440;

public class Example04 {
    public static void main(String[] args){
        tv1 tv2 = new tv1("电视机","黑马");
        System.out.println("此家电是一个" + tv2.getType() + "它的品牌为：" + tv2.getBrand());
    }
}